package altanovela.mybatis.act;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainExec {
	private ApplicationContext appctx;
	private MainApplication mainapp;
	
	public MainExec(){
		appctx = new ClassPathXmlApplicationContext("applicationContext.xml");
		mainapp = (MainApplication) appctx.getBean("MainAppBean");
		mainapp.beginProcess();
	}
	public static void main(String[] args){
		new MainExec();
	}
}

